const express = require('express');
const multer = require('multer');
const User = require('../models/User');
const Post = require('../models/Post'); // 确保正确引入 Post 模型
const {
  signup,
  login,
  getMe,
  sendVerificationCode,
  verifyCodeAndRegister
} = require('../controllers/authController');
const { protect } = require('../middlewares/authMiddleware');

const router = express.Router();


module.exports = router;